package com.ruoyi.project.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 学生-企业关联对象 bie_student_post
 * 
 * @author ruoyi
 * @date 2023-03-18
 */
public class BieStudentPost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 学生编号 */
    @Excel(name = "学生编号")
    private Long userId;

    /** 实习岗位编号 */
    @Excel(name = "实习岗位编号")
    private Long postId;

    /** 简历编号 */
    @Excel(name = "简历编号")
    private Long resumeId;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private Long state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setResumeId(Long resumeId) 
    {
        this.resumeId = resumeId;
    }

    public Long getResumeId() 
    {
        return resumeId;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("postId", getPostId())
            .append("resumeId", getResumeId())
            .append("createTime", getCreateTime())
            .append("state", getState())
            .toString();
    }
}
